<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/commons/taglibs.jsp"%>
<link href="${ctx}/resources/css/pagination.css" rel="stylesheet" type="text/css">

 <div class="title"><span><a href="#">回复留言</a></span></div>
			<div class="content cf">		
			    	
				<ul class="zixun_list cf">
					<c:forEach var="leave" items="${pageData.result}">
						<li>
						<p class="message_title"><b>[${leave.leaveTitle }]</b>${leave.memberLeaveType.typeName }<span>(<fmt:formatDate value="${leave.leaveTime }" pattern="yyyy-MM-dd" />)</span></p>
						<p class="message_content">你好管理员：${leave.leaveContent }</p>
						<c:if test="${leave.isReply == 0}">
						<p class="message_reply">[暂未回复]&nbsp;[<a  href="${ctx}/leaveReply/backstage/replay?id=${leave.id}">回复留言</a>]</p>
						</c:if>
						<c:if test="${leave.isReply == 1}">
						<p class="message_reply">回复:${leave.leaveReply.replyContent }</p>
						<p class="message_reply_time"> —— 管理员 回复：<fmt:formatDate value="${leave.leaveReply.replyTime }" pattern="yyyy-MM-dd HH:mm:SS" /></p>
						</c:if>
					</li>
		   			</c:forEach>	
				</ul>
				<div class="page">
					${pagination}
                </div>
</div>